﻿/// <reference path="../../Scripts/commen_js/MJ_JSComment.js" />
/// <reference path="../../Scripts/commen_js/jquery-2.0.2.min.js" />
var Showpping = {
    BindBata: function () {
        var productuid = GetQueryString("productid");
        poststr = "{\"type\":\"aboutobject\",\"htmldata\":\"" + productuid + "\"}";
        this.postajaxs(poststr, this.showdata);
    },
    showdata: function (data) {
        if (data.result == "ok") {
            var tabledata = data.table;
            $("#productimg").attr("src", "");
            $("#productname").text("");
            $("#productprice").text("");
        }
        else {
            layer_alert_error(data.msg);
        }
    },
    postajaxs: function (postdata, fangfa) {
        mj_ajax("../Handler1.ashx", "json", postdata, fangfa)
    }
}